package factory_pattern.simple_factory_pattern;

/**
 * 客户端
 */
public class Client {

    public static void main(String[] args) {
        CoinFactory factory = new CoinFactory();
        Coin coin = factory.getCoin(2);
        System.out.println(coin.getDescription());
    }
}
